/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package trefliq.persistence;

import java.util.List;
import javax.ejb.Remote;
import trefliq.persistence.entity.Credential;

/**
 *
 * @author Mike S <chesterhcode@gmail.com>
 */
@Remote
public interface CredentialEJBRemote {

//    public Credential findCredentialById(Long id);
    public List<Credential> findAllCredentials();
    public Credential createCredential(Credential c);
//    public Credential updateCredential(Credential c);
//    public void deleteCredential(Credential c);

    // Helper package protected methods:
    public List<Credential> selectAll();
    public long countAll();
    public void deleteAll();
    
}
